Optimal. Leaf size=27 \[ \frac{i}{7 a d (a+i a \tan (c+d x))^7} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0388354, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {3487, 32} \[ \frac{i}{7 a d (a+i a \tan (c+d x))^7} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3487
Rule 32
Rubi steps
\begin{align*} \int \frac{\sec ^2(c+d x)}{(a+i a \tan (c+d x))^8} \, dx &=-\frac{i \operatorname{Subst}\left (\int \frac{1}{(a+x)^8} \, dx,x,i a \tan (c+d x)\right )}{a d}\\ &=\frac{i}{7 a d (a+i a \tan (c+d x))^7}\\ \end{align*}
Mathematica [B] time = 0.228745, size = 100, normalized size = 3.7 \[ \frac{i \sec ^8(c+d x) (14 i \sin (2 (c+d x))+14 i \sin (4 (c+d x))+6 i \sin (6 (c+d x))+56 \cos (2 (c+d x))+28 \cos (4 (c+d x))+8 \cos (6 (c+d x))+35)}{896 a^8 d (\tan (c+d x)-i)^8} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.054, size = 24, normalized size = 0.9 \begin{align*}{\frac{{\frac{i}{7}}}{ad \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{7}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.19162, size = 28, normalized size = 1.04 \begin{align*} \frac{i}{7 \,{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{7} a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.35175, size = 278, normalized size = 10.3 \begin{align*} \frac{{\left (7 i \, e^{\left (12 i \, d x + 12 i \, c\right )} + 21 i \, e^{\left (10 i \, d x + 10 i \, c\right )} + 35 i \, e^{\left (8 i \, d x + 8 i \, c\right )} + 35 i \, e^{\left (6 i \, d x + 6 i \, c\right )} + 21 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 7 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i\right )} e^{\left (-14 i \, d x - 14 i \, c\right )}}{896 \, a^{8} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: AttributeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.24341, size = 255, normalized size = 9.44 \begin{align*} -\frac{2 \,{\left (7 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{13} - 42 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{12} - 182 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{11} + 490 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{10} + 1001 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{9} - 1484 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{8} - 1716 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{7} + 1484 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{6} + 1001 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{5} - 490 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{4} - 182 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{3} + 42 i \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )^{2} + 7 \, \tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )\right )}}{7 \, a^{8} d{\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - i\right )}^{14}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]